package com.jd.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jd.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {

//    @Select("select * from user where id=#{id}")
    User getByXml(@Param("id") Integer id);

    @InterceptorIgnore(tenantLine = "true")
    List<User> listByXml();
}
